package _15_generics._15_2.exercise;

/**
 * holder three same objects, along with the method to store and
 * fetch those objects and a constructor to initialize all three
 */
public class E02_Holder<T> {
    private T a,b,c;
    public E02_Holder(T a,T b,T c){
        this.a = a;
        this.b = b;
        this.c = c;
    }
    public T getA() {
        return a;
    }
    public void setA(T a) {
        this.a = a;
    }
    public T getB() {
        return b;
    }
    public void setB(T b) {
        this.b = b;
    }
    public T getC() {
        return c;
    }
    public void setC(T c) {
        this.c = c;
    }
}
